package com.cloudxingkong.dianyinke.Student.bean;

import java.util.List;

/**
 * Created by 云星空科技 on 2016/3/28.
 */
public class YueKeTest {

    /**
     * pname : 弓弦类乐器
     * pcode : 01
     * children : [{"name":"小提琴","code":"0101"},{"name":"大提琴","code":"0102"},{"name":"低音提琴","code":"0103"},{"name":"京胡","code":"0104"},{"name":"二胡","code":"0105"}]
     */

    private String pname;
    private String pcode;
    /**
     * name : 小提琴
     * code : 0101
     */

    private List<ChildrenBean> children;

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean {
        private String name;
        private String code;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }
    }
}
